package com.zte.purchase.dao;

import com.zte.purchase.model.CFirm;
import com.zte.purchase.model.FirmCondition;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface IFirmDao {

    boolean addProductFirm(CFirm firm);

    boolean updateProductFirm(CFirm cFirm);

    CFirm findOneFirm(String firmId);

    List<CFirm> queryFirmList(FirmCondition conn);

}
